package com.springboot.demo.model.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@ApiModel(description = "用户地址")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CustomerAddress implements Serializable {

    @ApiModelProperty("地址id")
    private Integer addressId;

    @ApiModelProperty("用户id")
    private Integer customerId;

    @ApiModelProperty("省编码")
    private String provinceCode;

    @ApiModelProperty("市编码")
    private String cityCode;

    @ApiModelProperty("县/区域编码")
    private String zoneCode;

    @ApiModelProperty("省名称")
    private String provinceName;

    @ApiModelProperty("市名称")
    private String cityName;

    @ApiModelProperty("县/区名称")
    private String zoneName;

    @ApiModelProperty("详细街道")
    private String detailedAddress;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("手机号|固话")
    private String phone;

    @ApiModelProperty("是否默认:0否,1是")
    private Integer isDefault;

    @ApiModelProperty("状态:0删除,1正常")
    private Integer addressStatus;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("备注")
    private String remark;

}